package com.manner.groupon.model.vo;

import com.manner.groupon.model.entity.GrouponOrder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
public class AdminOrderVO extends GrouponOrder implements Serializable {

    private String couponName;

    private String couponImg;

    private BigDecimal couponPrice;

    private String phone;


    public AdminOrderVO(Long id, String grouponOrderId, String payId, String storeNo, Long gcId, Long userId, Long deductionCouponId, String paymentMethod, Integer ticketNumber, BigDecimal totalAmount, Integer status, String createTime, String updateTime, String couponName, String couponImg, BigDecimal couponPrice, String phone) {
        super(id, grouponOrderId, payId, storeNo, gcId, userId, deductionCouponId, paymentMethod, ticketNumber, totalAmount, null, status, createTime, updateTime);
        this.couponName = couponName;
        this.couponImg = couponImg;
        this.couponPrice = couponPrice;
        this.phone = phone;
    }

    public AdminOrderVO(String couponName, String couponImg, BigDecimal couponPrice, String phone) {
        this.couponName = couponName;
        this.couponImg = couponImg;
        this.couponPrice = couponPrice;
        this.phone = phone;
    }
}
